#include "Queue.cpp"

int main(int argc, char const *argv[])
{
    //开辟20个空间的队列
    Queue *q=new Queue(20);

    q->enqueue(1);
    q->traverse();
    cout<<"============="<<endl;
    q->enqueue(2);
    q->traverse();
    cout<<"============="<<endl;
    q->enqueue(3);
    q->traverse();
    cout<<"============="<<endl;
    q->enqueue(4);
    q->traverse();
    cout<<"============="<<endl;
    q->deQueue();
    q->traverse();
    cout<<"============="<<endl;
    /* code */
    return 0;
}

